.class Lcom/instagram/android/fragment/ik;
.super Ljava/lang/Object;
.source "UserOptionsFragment.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/e/b/a/a;

.field final synthetic b:Lcom/instagram/android/fragment/ig;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/ig;Lcom/instagram/e/b/a/a;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 223
    iput-object p1, p0, Lcom/instagram/android/fragment/ik;->b:Lcom/instagram/android/fragment/ig;

    iput-object p2, p0, Lcom/instagram/android/fragment/ik;->a:Lcom/instagram/e/b/a/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 5
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 226
    if-nez p2, :cond_0

    .line 227
    iget-object v0, p0, Lcom/instagram/android/fragment/ik;->b:Lcom/instagram/android/fragment/ig;

    iget-object v0, v0, Lcom/instagram/android/fragment/ig;->a:Lcom/instagram/android/fragment/ie;

    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    const-string v3, "http://help.instagram.com/372161259539444/"

    iget-object v4, p0, Lcom/instagram/android/fragment/ik;->b:Lcom/instagram/android/fragment/ig;

    iget-object v4, v4, Lcom/instagram/android/fragment/ig;->a:Lcom/instagram/android/fragment/ie;

    invoke-virtual {v4}, Lcom/instagram/android/fragment/ie;->j()Landroid/support/v4/app/j;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/instagram/android/d/i/h;->a(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/ie;->a(Landroid/content/Intent;)V

    .line 239
    :goto_0
    return-void

    .line 232
    :cond_0
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 233
    const-string v2, "title"

    const/4 v0, 0x1

    if-ne p2, v0, :cond_1

    sget v0, Lcom/facebook/ba;->send_feedback:I

    :goto_1
    invoke-virtual {v1, v2, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 237
    iget-object v0, p0, Lcom/instagram/android/fragment/ik;->a:Lcom/instagram/e/b/a/a;

    new-instance v2, Lcom/instagram/android/fragment/fd;

    invoke-direct {v2}, Lcom/instagram/android/fragment/fd;-><init>()V

    invoke-virtual {v0, v2, v1}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    goto :goto_0

    .line 233
    :cond_1
    sget v0, Lcom/facebook/ba;->report_problem:I

    goto :goto_1
.end method
